package cn.moningxi.mapper;

import cn.moningxi.bean.GoodsCategory;

import java.util.List;

public interface GoodsCategoryMapper {
    List<GoodsCategory> getAll();

    List<GoodsCategory> getChildCate(Integer cid);

    GoodsCategory queryById(Integer cid);

    List<GoodsCategory> getHotList();

    List<GoodsCategory> getAllCategory();

    List<GoodsCategory> getChildCategory(Integer categoryId);

    GoodsCategory selectCateById(Integer categoryId);

    void updateCateInfo(GoodsCategory submitCategoryInfo);

    void addCategory(GoodsCategory submitAddCategoryInfo);

    List<GoodsCategory> getCateList();
}